{% extends 'base.html' %}
{% block title %}
用户信息修改
{% endblock %}
{% block middle %}
<h1>用户信息更新</h1>
<form action="{{ url_for('user.update_user') }}" method="post">
    <p><label>
        <input type="hidden" name="id" placeholder="用户名" value="{{ user.id }}">
    </label></p>
    <p><label>
        <input type="text" name="username" placeholder="用户名" value="{{ user.username }}">
    </label></p>
    <p><label>
        <input type="text" name="email" placeholder="邮箱" value="{{ user.email }}">
    </label></p>
    <p><input type="submit" value="用户更新"></p>
</form>
{% endblock %}

{% block myjs %}


{% endblock %}